<?php
namespace app\beautiful\model\appointment;
use app\beautiful\model\project\ProjectModel;
use app\common\model\CommonModel;

class CommissionModel extends CommonModel{
    protected  $name = 'beautiful_technician_commission';
    protected  $pk   = 'commission_id';

    public function projects()
    {
        return $this->hasMany(CPModel::class,'commission_id','commission_id');
    }

}
